<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MRSL JPS3D Library: include/jps_basis/data_utils.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MRSL JPS3D Library
   &#160;<span id="projectnumber">1.1</span>
   </div>
   <div id="projectbrief">An implementaion of Jump Point Search on 3D voxel map</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_f3f15cb6a903102cfaa3bed9fef4749a.html">jps_basis</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">data_utils.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Provide a few widely used function for basic type.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;<a class="el" href="data__type_8h_source.html">jps_basis/data_type.h</a>&gt;</code><br />
</div>
<p><a href="data__utils_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a79960a9e7c7bad6ec5641ed1729ad8d0"><td class="memItemLeft" align="right" valign="top"><a id="a79960a9e7c7bad6ec5641ed1729ad8d0"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="data__utils_8h.html#a79960a9e7c7bad6ec5641ed1729ad8d0">transform_vec3</a>&#160;&#160;&#160;<a class="el" href="data__utils_8h.html#ac3745ddcc3002193bbcd5caab64cd1df">transform_vec</a>&lt;<a class="el" href="data__type_8h.html#afd53e073786661e24985c48b4ef92fcb">Vec3f</a>, <a class="el" href="data__type_8h.html#a99980a710976449f0a9d3d2ae8b8be87">Aff3f</a>&gt;</td></tr>
<tr class="memdesc:a79960a9e7c7bad6ec5641ed1729ad8d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transform all entries in a vector using given TF. <br /></td></tr>
<tr class="separator:a79960a9e7c7bad6ec5641ed1729ad8d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a450ba3b43f715e59d5dbdd6463a2c636"><td class="memItemLeft" align="right" valign="top"><a id="a450ba3b43f715e59d5dbdd6463a2c636"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="data__utils_8h.html#a450ba3b43f715e59d5dbdd6463a2c636">total_distance2f</a>&#160;&#160;&#160;<a class="el" href="data__utils_8h.html#a3f82ae87bcf143405fd986be6ca44a68">total_distance</a>&lt;<a class="el" href="data__type_8h.html#a135c596de9b80bec15985876ebd5036e">Vec2f</a>&gt;</td></tr>
<tr class="memdesc:a450ba3b43f715e59d5dbdd6463a2c636"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sum up total distance for vec_Vec2f. <br /></td></tr>
<tr class="separator:a450ba3b43f715e59d5dbdd6463a2c636"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a188bab5f6177f4853e7bff0d5c61cfe6"><td class="memItemLeft" align="right" valign="top"><a id="a188bab5f6177f4853e7bff0d5c61cfe6"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="data__utils_8h.html#a188bab5f6177f4853e7bff0d5c61cfe6">total_distance3f</a>&#160;&#160;&#160;<a class="el" href="data__utils_8h.html#a3f82ae87bcf143405fd986be6ca44a68">total_distance</a>&lt;<a class="el" href="data__type_8h.html#afd53e073786661e24985c48b4ef92fcb">Vec3f</a>&gt;</td></tr>
<tr class="memdesc:a188bab5f6177f4853e7bff0d5c61cfe6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sum up total distance for vec_Vec3f. <br /></td></tr>
<tr class="separator:a188bab5f6177f4853e7bff0d5c61cfe6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4b1c5dee9fbcba9024f16621cf71198"><td class="memItemLeft" align="right" valign="top"><a id="ae4b1c5dee9fbcba9024f16621cf71198"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="data__utils_8h.html#ae4b1c5dee9fbcba9024f16621cf71198">total_distance2i</a>&#160;&#160;&#160;<a class="el" href="data__utils_8h.html#a3f82ae87bcf143405fd986be6ca44a68">total_distance</a>&lt;<a class="el" href="data__type_8h.html#a08412347a26b00366a9d576672cce68d">Vec2i</a>&gt;</td></tr>
<tr class="memdesc:ae4b1c5dee9fbcba9024f16621cf71198"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sum up total distance for vec_Vec2i. <br /></td></tr>
<tr class="separator:ae4b1c5dee9fbcba9024f16621cf71198"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca4035bd3287a21e2e0a8e7a5a0357f5"><td class="memItemLeft" align="right" valign="top"><a id="aca4035bd3287a21e2e0a8e7a5a0357f5"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="data__utils_8h.html#aca4035bd3287a21e2e0a8e7a5a0357f5">total_distance3i</a>&#160;&#160;&#160;<a class="el" href="data__utils_8h.html#a3f82ae87bcf143405fd986be6ca44a68">total_distance</a>&lt;<a class="el" href="data__type_8h.html#a27cc7cd350b4919c77a6803461feb516">Vec3i</a>&gt;</td></tr>
<tr class="memdesc:aca4035bd3287a21e2e0a8e7a5a0357f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sum up total distance for vec_Vec3i. <br /></td></tr>
<tr class="separator:aca4035bd3287a21e2e0a8e7a5a0357f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ac3745ddcc3002193bbcd5caab64cd1df"><td class="memTemplParams" colspan="2"><a id="ac3745ddcc3002193bbcd5caab64cd1df"></a>
template&lt;class T , class TF &gt; </td></tr>
<tr class="memitem:ac3745ddcc3002193bbcd5caab64cd1df"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="data__type_8h.html#a6b9210d48a0a541940af71827aad1b41">vec_E</a>&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="data__utils_8h.html#ac3745ddcc3002193bbcd5caab64cd1df">transform_vec</a> (const <a class="el" href="data__type_8h.html#a6b9210d48a0a541940af71827aad1b41">vec_E</a>&lt; T &gt; &amp;t, const TF &amp;tf)</td></tr>
<tr class="memdesc:ac3745ddcc3002193bbcd5caab64cd1df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Template for transforming a vector. <br /></td></tr>
<tr class="separator:ac3745ddcc3002193bbcd5caab64cd1df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f82ae87bcf143405fd986be6ca44a68"><td class="memTemplParams" colspan="2"><a id="a3f82ae87bcf143405fd986be6ca44a68"></a>
template&lt;class T &gt; </td></tr>
<tr class="memitem:a3f82ae87bcf143405fd986be6ca44a68"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="data__type_8h.html#a7c99d9360fc6cac2762b786e2fb52266">decimal_t</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="data__utils_8h.html#a3f82ae87bcf143405fd986be6ca44a68">total_distance</a> (const <a class="el" href="data__type_8h.html#a6b9210d48a0a541940af71827aad1b41">vec_E</a>&lt; T &gt; &amp;vs)</td></tr>
<tr class="memdesc:a3f82ae87bcf143405fd986be6ca44a68"><td class="mdescLeft">&#160;</td><td class="mdescRight">Template for calculating distance. <br /></td></tr>
<tr class="separator:a3f82ae87bcf143405fd986be6ca44a68"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Provide a few widely used function for basic type. </p>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
